/* *	Author: Vitaly Rozhkov *	vitaly.rozhkov@gmail.com *  http://bookvarius.livejournal.com **/function _getTypeID(charID) {	return app.charIDToTypeID(charID);}/*--------- interface functions ---------- */function ActualPixels() {	var desc = new ActionDescriptor();	var ref = new ActionReference();		ref.putEnumerated(_getTypeID('Mn  '), _getTypeID('MnIt'), _getTypeID('ActP'));	desc.putReference(_getTypeID('null'), ref);		executeAction(_getTypeID('slct'), desc, DialogModes.NO);}